import { createRouter, createWebHistory } from "vue-router"

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: "/",
      name: "welcome",
      component: () => import("../views/MobileTerminal/Welcome.vue"),
    },
    {
      path: "/mobilelogin",
      name: "mobilelogin",
      component: () => import("../views/MobileTerminal/MobileLogin.vue"),
    },
    {
      path: "/mobilehome",
      name: "mobilehome",
      component: () => import("../views/MobileTerminal/MobileHome.vue"),
    },
    {
      path: "/reportform",
      name: "reportform",
      component: () =>
        import("../views/MobileTerminal/components/ReportForm.vue"),
    },
  ],
})

export default router
